package com.charger.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.charger.common.annotation.Excel;
import com.charger.common.core.domain.BaseEntity;

/**
 * 能耗分析对象 charger_energy
 * 
 * @author qkp
 * @date 2024-11-22
 */
public class ChargerEnergy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 能耗分析编号 */
    @Excel(name = "能耗分析编号")
    private Long energyId;

    /** 充电枪id */
    private Long chargeId;

    /** 能耗和 */
    @Excel(name = "能耗和")
    private Double energy;

    public void setEnergyId(Long energyId) 
    {
        this.energyId = energyId;
    }

    public Long getEnergyId() 
    {
        return energyId;
    }

    public void setChargeId(Long chargeId)
    {
        this.chargeId = chargeId;
    }

    public Long getChargeId()
    {
        return chargeId;
    }
    public void setEnergy(Double energy)
    {
        this.energy = energy;
    }

    public Double getEnergy()
    {
        return energy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("energyId", getEnergyId())
            .append("createTime", getCreateTime())
            .append("chargegunId", getChargeId())
            .append("energy", getEnergy())
            .toString();
    }
}
